//
//  YZNetworkManager+Activity.h
//  YZMicroStock
//
//  Created by apple on 17/5/10.
//  Copyright © 2017年 cqjr. All rights reserved.
//

#import "YZNetworkManager.h"

@interface YZNetworkManager (Activity)



/**
 获取活动列表

 @param success
 @param failure 
 */
- (void)Activity_activityListsuccess:(void (^)(NSURLSessionDataTask *task,id responseObject))success
                          failure:(void (^)(NSError *error))failure;


/**
 子活动列表

 @param activityId 活动Id
 @param success
 @param failure 
 */
- (void)Activity_activityListNextWithactivityId:(NSInteger )activityId success:(void (^)(NSURLSessionDataTask *task,id responseObject))success
                             failure:(void (^)(NSError *error))failure;


/**
 领取红包
 
 @param title 红包标识
 @param awardLogId 奖励记录
 @param money 奖励金额
 @param success
 @param failure
 */
- (void)Redpacket_fetchActivityListInfoWithTitle:(NSString *)title awardLogId:(NSInteger )awardLogId money:(NSInteger )money Success:(void (^)(NSURLSessionDataTask *task,id responseObject))success failure: (void (^)(NSError *error))failure;

/**
 获取红包资金信息

 @param success
 @param failure 
 */
- (void)Activity_RedpacketInforsuccess:(void (^)(NSURLSessionDataTask *task,id responseObject))success
                             failure:(void (^)(NSError *error))failure;

/**
 获取红包资金明细
 
 @param page 当前页
 @param pageSize 每页显示的纪录数
 @param success
 @param failure
 */
- (void)Activity_fetchRedPacketFundDetailsuccess:(void (^)(NSURLSessionDataTask *task,id responseObject))success failure: (void (^)(NSError *error))failure;

@end
